package com.siants.itemprocessor;

import com.siants.dao.Comtrx;
import com.siants.dao.Person;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.item.ItemProcessor;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author yanxin
 * @create 2018/7/27
 * @since 1.0.0
 */

public class ComtrxItemProcessor implements ItemProcessor<Comtrx, Comtrx> {

    private static final Logger log = LoggerFactory.getLogger(ComtrxItemProcessor.class);

    @Override
    public Comtrx process(Comtrx comtrx) throws Exception {
        System.out.println("11111111");
        String firstName = comtrx.getA().toUpperCase();
        System.out.println("12");

        String lastName = comtrx.getB().toUpperCase();
        System.out.println("13");


        System.out.println("firstName:"+firstName+"  lastName:"+lastName);

        return comtrx;
    }
}
